home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11416 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 6f 6c 79 6d 70 |Path: ne|ws.olymp|
|00000010| 69 63 2e 6e 65 74 21 75 | 73 65 6e 65 74 0a 46 72 |ic.net!u|senet.Fr|
|00000020| 6f 6d 3a 20 22 45 72 69 | 6b 20 57 2e 20 41 6e 64 |om: "Eri|k W. And|
|00000030| 65 72 73 6f 6e 22 20 3c | 65 61 6e 64 65 72 73 40 |erson" <|eanders@|
|00000040| 6f 6c 79 6d 70 69 63 2e | 6e 65 74 3e 0a 4e 65 77 |olympic.|net>.New|
|00000050| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 6c 61 |sgroups:| comp.la|
|00000060| 6e 67 2e 63 2c 63 6f 6d | 70 2e 70 72 6f 67 72 61 |ng.c,com|p.progra|
|00000070| 6d 6d 69 6e 67 0a 53 75 | 62 6a 65 63 74 3a 20 52 |mming.Su|bject: R|
|00000080| 65 3a 20 41 73 73 65 72 | 74 69 76 65 20 6f 72 20 |e: Asser|tive or |
|00000090| 44 65 66 65 6e 73 69 76 | 65 3f 0a 44 61 74 65 3a |Defensiv|e?.Date:|
|000000a0| 20 53 61 74 2c 20 32 33 | 20 4d 61 72 20 31 39 39 | Sat, 23| Mar 199|
|000000b0| 36 20 31 32 3a 34 33 3a | 30 33 20 2d 30 38 30 30 |6 12:43:|03 -0800|
|000000c0| 0a 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 4f |.Organiz|ation: O|
|000000d0| 6c 79 6d 70 69 63 20 4e | 65 74 0a 4d 65 73 73 61 |lympic N|et.Messa|
|000000e0| 67 65 2d 49 44 3a 20 3c | 33 31 35 34 36 32 35 37 |ge-ID: <|31546257|
|000000f0| 2e 31 31 45 31 40 6f 6c | 79 6d 70 69 63 2e 6e 65 |.11E1@ol|ympic.ne|
|00000100| 74 3e 0a 52 65 66 65 72 | 65 6e 63 65 73 3a 20 3c |t>.Refer|ences: <|
|00000110| 34 69 6f 67 67 6e 24 33 | 73 66 40 64 61 7a 7a 6c |4ioggn$3|sf@dazzl|
|00000120| 65 2e 65 61 73 74 2d 74 | 65 6e 6e 2d 73 74 2e 65 |e.east-t|enn-st.e|
|00000130| 64 75 3e 20 3c 34 69 74 | 63 73 32 24 70 6f 33 40 |du> <4it|cs2$po3@|
|00000140| 42 31 46 46 2e 6d 69 6e | 64 73 70 72 69 6e 67 2e |B1FF.min|dspring.|
|00000150| 63 6f 6d 3e 0a 4e 4e 54 | 50 2d 50 6f 73 74 69 6e |com>.NNT|P-Postin|
|00000160| 67 2d 48 6f 73 74 3a 20 | 6f 6c 79 32 2d 31 31 38 |g-Host: |oly2-118|
|00000170| 2e 6f 6c 79 6d 70 69 63 | 2e 6e 65 74 0a 4d 69 6d |.olympic|.net.Mim|
|00000180| 65 2d 56 65 72 73 69 6f | 6e 3a 20 31 2e 30 0a 43 |e-Versio|n: 1.0.C|
|00000190| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 3a 20 74 65 78 |ontent-T|ype: tex|
|000001a0| 74 2f 70 6c 61 69 6e 3b | 20 63 68 61 72 73 65 74 |t/plain;| charset|
|000001b0| 3d 75 73 2d 61 73 63 69 | 69 0a 43 6f 6e 74 65 6e |=us-asci|i.Conten|
|000001c0| 74 2d 54 72 61 6e 73 66 | 65 72 2d 45 6e 63 6f 64 |t-Transf|er-Encod|
|000001d0| 69 6e 67 3a 20 37 62 69 | 74 0a 58 2d 4d 61 69 6c |ing: 7bi|t.X-Mail|
|000001e0| 65 72 3a 20 4d 6f 7a 69 | 6c 6c 61 20 32 2e 30 47 |er: Mozi|lla 2.0G|
|000001f0| 6f 6c 64 42 31 20 28 57 | 69 6e 39 35 3b 20 49 29 |oldB1 (W|in95; I)|
|00000200| 0a 54 6f 3a 20 45 72 69 | 63 20 46 72 69 65 64 6d |.To: Eri|c Friedm|
|00000210| 61 6e 20 3c 65 66 72 69 | 65 64 40 6d 69 6e 64 73 |an <efri|ed@minds|
|00000220| 70 72 69 6e 67 2e 63 6f | 6d 3e 0a 43 43 3a 20 7a |pring.co|m>.CC: z|
|00000230| 65 62 6c 31 40 62 6f 62 | 63 61 74 2e 65 61 73 74 |ebl1@bob|cat.east|
|00000240| 2d 74 65 6e 6e 2d 73 74 | 2e 65 64 75 0a 0a 45 72 |-tenn-st|.edu..Er|
|00000250| 69 63 20 46 72 69 65 64 | 6d 61 6e 20 77 72 6f 74 |ic Fried|man wrot|
|00000260| 65 3a 0a 3e 20 49 4d 48 | 4f 2c 20 61 73 73 65 72 |e:.> IMH|O, asser|
|00000270| 74 69 6f 6e 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |tions sh|ould be |
|00000280| 75 73 65 64 20 64 75 72 | 69 6e 67 20 64 65 76 65 |used dur|ing deve|
|00000290| 6c 6f 70 6d 65 6e 74 20 | 74 6f 20 68 65 6c 70 20 |lopment |to help |
|000002a0| 64 65 74 65 63 74 0a 3e | 20 73 69 74 75 61 74 69 |detect.>| situati|
|000002b0| 6f 6e 73 20 6e 6f 74 20 | 65 78 70 65 63 74 65 64 |ons not |expected|
|000002c0| 20 69 6e 20 22 72 65 61 | 6c 2d 6c 69 66 65 22 2c | in "rea|l-life",|
|000002d0| 20 62 75 74 20 74 68 61 | 74 20 63 61 6e 20 62 65 | but tha|t can be|
|000002e0| 20 65 6e 63 6f 75 6e 74 | 65 72 65 64 0a 3e 20 64 | encount|ered.> d|
|000002f0| 75 72 69 6e 67 20 74 68 | 65 20 69 6e 69 74 69 61 |uring th|e initia|
|00000300| 6c 20 63 6f 64 69 6e 67 | 20 65 66 66 6f 72 74 2e |l coding| effort.|
|00000310| 20 44 65 74 65 63 74 69 | 6e 67 20 6e 75 6c 6c 20 | Detecti|ng null |
|00000320| 70 6f 69 6e 74 65 72 73 | 20 77 6f 75 6c 64 20 62 |pointers| would b|
|00000330| 65 20 61 6e 0a 3e 20 65 | 78 61 6d 70 6c 65 2e 20 |e an.> e|xample. |
|00000340| 44 65 66 65 6e 73 69 76 | 65 20 63 6f 64 69 6e 67 |Defensiv|e coding|
|00000350| 20 73 68 6f 75 6c 64 20 | 63 65 72 74 61 69 6e 6c | should |certainl|
|00000360| 79 20 62 65 20 75 73 65 | 64 20 74 6f 20 64 65 74 |y be use|d to det|
|00000370| 65 63 74 20 62 61 64 20 | 69 6e 70 75 74 0a 3e 20 |ect bad |input.> |
|00000380| 66 72 6f 6d 20 75 73 65 | 72 73 2e 0a 3e 20 0a 3e |from use|rs..> .>|
|00000390| 20 55 73 65 20 61 73 73 | 65 72 74 69 6f 6e 73 20 | Use ass|ertions |
|000003a0| 74 6f 20 64 65 74 65 63 | 74 20 70 72 6f 67 72 61 |to detec|t progra|
|000003b0| 6d 6d 69 6e 67 20 65 72 | 72 6f 72 73 2e 0a 0a 54 |mming er|rors...T|
|000003c0| 6f 20 66 6f 6c 6c 6f 77 | 20 75 70 20 6f 6e 20 74 |o follow| up on t|
|000003d0| 68 61 74 20 70 6f 69 6e | 74 2c 20 61 6e 20 65 78 |hat poin|t, an ex|
|000003e0| 65 63 65 6c 6c 61 6e 74 | 20 62 6f 6f 6b 20 74 6f |ecellant| book to|
|000003f0| 20 63 68 65 63 6b 20 6f | 75 74 20 69 73 0a 22 57 | check o|ut is."W|
|00000400| 72 69 74 69 6e 67 20 53 | 6f 6c 69 64 20 43 6f 64 |riting S|olid Cod|
|00000410| 65 22 20 62 79 20 53 74 | 65 76 65 20 4d 61 63 47 |e" by St|eve MacG|
|00000420| 75 69 72 65 20 70 75 62 | 6c 69 73 68 65 64 20 62 |uire pub|lished b|
|00000430| 79 20 4d 53 20 50 72 65 | 73 73 0a 75 6e 64 65 72 |y MS Pre|ss.under|
|00000440| 20 49 53 42 4e 20 31 2d | 35 35 36 31 35 2d 35 35 | ISBN 1-|55615-55|
|00000450| 31 2d 34 2e 0a | |1-4.. | |
+--------+-------------------------+-------------------------+--------+--------+